package com.cl.mybatis.learn.day16.bean;

import java.util.List;

import lombok.Data;

/**
 * 描述该类- JPA
 *
 * @author zhoufei
 * @class: Orders
 * @date 2020/11/4 15:46
 * @Verson 1.0 -2020/11/4 15:46
 * @see
 */

@Data
public class Orders {
    private Integer id;
    private Integer userId;
    private String remark;
    private List<OrderDetails> orderDetails;//一个订单 对应多个订单明细
}